package com.base.dao.emr;

import com.base.vo.emr.HisCaseRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HisCaseRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HisCaseRecord record);

    int insertSelective(HisCaseRecord record);

    HisCaseRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HisCaseRecord record);

    int updateByPrimaryKeyWithBLOBs(HisCaseRecord record);

    int updateByPrimaryKey(HisCaseRecord record);

    List<HisCaseRecord> selectAll();

    List<HisCaseRecord> selectByPid(@Param("patientId") String patientId);

    String selectDocXmlLobId(Integer id);
}